<div class="post" style="height: auto">
    <% if(data.image){%>
    <img src="<%= data.image %>" class="img-responsive">
    <%}%>
    <div class="caption">
        <div class="header">
            <span class="post-tag"><%= data.author %></span>
            <span class="text-success"><%- moment(data.createtime).locale('zh-cn').fromNow() %></span>
            <h1><%= data.name %></h1>
        </div>

        <div>
            <%- unescape(data.content) %>
        </div>
    </div>
</div>